package edu.zut.cs.javaee.manager.score.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import edu.zut.cs.javaee.manager.base.domain.BaseEntity;
import edu.zut.cs.javaee.manager.department.domain.Department;
@Entity
@Table(name = "T_SCORE")

public class Score  extends BaseEntity<Long>{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 161586511892356697L;

	@Column
	String final_grade;
	@Column
	String phase_grade;
	@Column
	String overall_grade;
	/**
	 * course name
	 */
	@Column
	String score_cname;
	
/**
 * Multiple grades are classified by course name and student name
 */
	@ManyToOne
	@JoinColumn(name = "Multiple_grades")
	Results results;
	
	

	public String getFinal_grade() {
		return final_grade;
	}

	public void setFinal_grade(String final_grade) {
		this.final_grade = final_grade;
	}

	public String getPhase_grade() {
		return phase_grade;
	}

	public void setPhase_grade(String phase_grade) {
		this.phase_grade = phase_grade;
	}

	public String getOverall_grade() {
		return overall_grade;
	}

	public void setOverall_grade(String overall_grade) {
		this.overall_grade = overall_grade;
	}

	public String getScore_cname() {
		return score_cname;
	}

	public void setScore_cname(String score_cname) {
		this.score_cname = score_cname;
	}
	
	
}
